package cn.stylefeng.guns.modular.yingbao.model.params;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam;
import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 建仓订单表
 * </p>
 *
 * @author jj
 * @since 2019-12-18
 */
@Data
public class SysBuildingParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;


    private Long id;

    /**
     * 用户id
     */
    private Long userid;

    /**
     * 推荐人id
     */
    private Long referrerId;

    /**
     * 上上级推荐人id
     */
    private Long sjReferrerId;

    /**
     * 订单号
     */
    private String ordinal;

    /**
     * 价格
     */
    private Long price;
    /**
     * 类别
     */
    private int type;

    /**
     * 是否为vip
     */
    private int isVip;

    /**
     * 收益
     */
    private Long earnings;

    private Long money;

    /**
     * 建仓时间
     */
    private Date buildingTime;

    /**
     * 天数
     */
    private Integer fate;

    /**
     * 状态
     */
    private String stuats;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 乐观锁
     */
    private Integer version;

    @Override
    public String checkParam() {
        return null;
    }

}
